<?php
/**
 * Parameters
 * @param $form_errors array
 */
?>

			<?php if(count($form_errors) > 0): ?>
				<h2 class="box error">Fehler<img alt="Fehler" src="<?php echo image_path('icons/content_fehler.png');?>" /></h2>
				<div class="form-errors">
					<ul>
						<?php foreach($form_errors as $error):?>
						<?php include_partial('global/form_error_list_item', array('form_error' => $error)); ?>
						<?php endforeach; ?>
					</ul>
				</div>
			<?php endif; ?>